package org.darkforest.common.services;

import org.darkforest.model.StoreNavigation;

import java.util.List;

/**
 * 店铺导航
 * Created by Libing on 2015/9/28.
 */
public interface StoreNavigationService {

    /**
     * 店铺导航列表
     * @return
     * @param storeId
     */
    List<StoreNavigation> findStoreNavigationList(Integer storeId);

    /**
     * 新增店铺导航
     * @param storeNavigation
     * @return
     */
    int addNavigation(StoreNavigation storeNavigation);

    /**
     * 删除店铺导航
     * @param id
     * @return
     */
    int delNavigationById(Integer id);


    /**
     * 根据主键获取店铺导航信息
     * @param id
     * @return
     */
    StoreNavigation getNavigationById(Integer id);

    /**
     * 更新店铺导航信息
     * @param storeNavigation
     * @return
     */
    int editNavigation(StoreNavigation storeNavigation);
}
